package com.slx.exp1_initializr.controller;

import com.slx.exp1_initializr.domain.Student;
import com.slx.exp1_initializr.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class StudentController {
    @Autowired
    private StudentService studentService;
    @Autowired
    private Student student;
    public Student getStudent(){
        return studentService.getStudent();
//        return student;
    }
}
